<template>
	<view>
		<view class="" style="padding: 30rpx;" v-html="notices.content" >
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				notices:''
			};
		},
		onLoad(option) {
			this.notice(option.id)
		},
		methods:{
			notice(id){
				this.$api.post('/notice',{
					types:'detail',
					id
				}).then(res=>{
					console.log(res);
					this.notices = res.data
				})
			},
		}
	}
</script>

<style lang="scss">

</style>
